
#ifndef _REGEX_PREFIX_MATCH_H
#define _REGEX_PREFIX_MATCH_H

#include "lexer.hpp"
#include <string>

class Matcher {
    public:
        static bool prefixMatch(const std::string &pattern, 
                                const std::string &text);
        static size_t getLastMatchLength();
    private:
        static size_t last_match_length;
        Matcher() {};
};

#endif
